package com.allprs.common.core.domain.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.Date;

/**
 * 设备表vo
 */
public class ResourcesDevice implements Serializable {

    private Long deviceId;              //主键
    private String deviceName;          //设备名称
    private String deviceState;         //状态1-启用|2-禁用
    private String remark;              //备注
    private String deviceProperty;      //设备属性
    private String dataId;              //第三方设备id
    private String typeId;              //资产类型id
    private String typeName;            //资产类型名称
    private String tabName;             //表名称
    private String paraFileUrl;         //para文件地址
    private String paraFileName;        //para文件名称
    private String cameraFileUrl;       //camera文件地址
    private String cameraFileName;      //camera文件名称
    private String gbId;                //视频通道国标编码
    private String corp;                //设备厂商
    private String model;               //设备型号
    private String latitude;            //纬度
    private String updateUserId;        //更新人
    private String updateUserName;      //更新人名字
    private String catalogId;           //资产类目id
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;            //更新时间

    private String deviceX;             //设备坐标x
    private String deviceY;             //设备坐标y
    private String deviceZ;             //设备坐标z
    private String deviceSrc;           //设备来源1-数据中台，2-外部设备
    private String deviceSrcName;       //设备来源名称
    private String deviceUrl;           //设备地址

    private String dataFileUrl;         //数据文件地址
    private String dataFileName;        //数据文件名称

    private String iconFileUrl;         //设备图标文件路径

    private String tokenUrl;            //获取第三方token的请求地址

    public Long getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Long deviceId) {
        this.deviceId = deviceId;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getDeviceState() {
        return deviceState;
    }

    public void setDeviceState(String deviceState) {
        this.deviceState = deviceState;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getDeviceProperty() {
        return deviceProperty;
    }

    public void setDeviceProperty(String deviceProperty) {
        this.deviceProperty = deviceProperty;
    }

    public String getDataId() {
        return dataId;
    }

    public void setDataId(String dataId) {
        this.dataId = dataId;
    }

    public String getTypeId() {
        return typeId;
    }

    public void setTypeId(String typeId) {
        this.typeId = typeId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getTabName() {
        return tabName;
    }

    public void setTabName(String tabName) {
        this.tabName = tabName;
    }

    public String getParaFileUrl() {
        return paraFileUrl;
    }

    public void setParaFileUrl(String paraFileUrl) {
        this.paraFileUrl = paraFileUrl;
    }

    public String getParaFileName() {
        return paraFileName;
    }

    public void setParaFileName(String paraFileName) {
        this.paraFileName = paraFileName;
    }

    public String getCameraFileUrl() {
        return cameraFileUrl;
    }

    public void setCameraFileUrl(String cameraFileUrl) {
        this.cameraFileUrl = cameraFileUrl;
    }

    public String getCameraFileName() {
        return cameraFileName;
    }

    public void setCameraFileName(String cameraFileName) {
        this.cameraFileName = cameraFileName;
    }

    public String getGbId() {
        return gbId;
    }

    public void setGbId(String gbId) {
        this.gbId = gbId;
    }

    public String getCorp() {
        return corp;
    }

    public void setCorp(String corp) {
        this.corp = corp;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(String updateUserId) {
        this.updateUserId = updateUserId;
    }

    public String getUpdateUserName() {
        return updateUserName;
    }

    public void setUpdateUserName(String updateUserName) {
        this.updateUserName = updateUserName;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getCatalogId() {
        return catalogId;
    }

    public void setCatalogId(String catalogId) {
        this.catalogId = catalogId;
    }

    public String getDeviceX() {
        return deviceX;
    }

    public void setDeviceX(String deviceX) {
        this.deviceX = deviceX;
    }

    public String getDeviceY() {
        return deviceY;
    }

    public void setDeviceY(String deviceY) {
        this.deviceY = deviceY;
    }

    public String getDeviceZ() {
        return deviceZ;
    }

    public void setDeviceZ(String deviceZ) {
        this.deviceZ = deviceZ;
    }

    public String getDeviceSrc() {
        return deviceSrc;
    }

    public void setDeviceSrc(String deviceSrc) {
        this.deviceSrc = deviceSrc;
    }

    public String getDeviceSrcName() {
        return deviceSrcName;
    }

    public void setDeviceSrcName(String deviceSrcName) {
        this.deviceSrcName = deviceSrcName;
    }

    public String getDeviceUrl() {
        return deviceUrl;
    }

    public void setDeviceUrl(String deviceUrl) {
        this.deviceUrl = deviceUrl;
    }

    public String getDataFileUrl() {
        return dataFileUrl;
    }

    public void setDataFileUrl(String dataFileUrl) {
        this.dataFileUrl = dataFileUrl;
    }

    public String getDataFileName() {
        return dataFileName;
    }

    public void setDataFileName(String dataFileName) {
        this.dataFileName = dataFileName;
    }

    public String getIconFileUrl() {
        return iconFileUrl;
    }

    public void setIconFileUrl(String iconFileUrl) {
        this.iconFileUrl = iconFileUrl;
    }

    public String getTokenUrl() {
        return tokenUrl;
    }

    public void setTokenUrl(String tokenUrl) {
        this.tokenUrl = tokenUrl;
    }
}
